
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SISOR</title>
</head>
<body>
	<h2>SISOR<br>Sistema de Gerençiamento Orçamentario<br/>
	</h2>Faça seu cadastro 
<f:view>
	<h:outputLabel value="#{ServidorMB.mensagem}" style="color: #F50000"></h:outputLabel>
<h:form>
	<h:panelGrid border="0" columns="2" style="background-color: cyan; color: #0000F" >
				<h:outputLabel value="Nome: " />
				<h:inputText style="width:300px" value="#{cadastroServidorMB.nome}" required="true" requiredMessage="Campo obrigatório" />
				<h:outputLabel value="Matricula: "/>
				<h:inputText style="width:300px" value="#{cadastroServidorMB.matricula}" required="true" requiredMessage="Campo obrigatório"  />
				<h:outputLabel value="Senha: "/>
				<h:inputSecret style="width:300px" value="#{cadastroServidorMB.senha}" required="true" requiredMessage="Campo obrigatório" />
				<h:outputLabel value="Email: "/>
				<h:inputText style="width:300px" value="#{cadastroServidorMB.email}" required="true" requiredMessage="Campo obrigatório" />
		</h:panelGrid>
			
			<br/>
		<h:commandButton value="Enviar Formulário" action="#{cadastroServidorMB.CadastrarServidor}"></h:commandButton>
		
	</h:form>
</f:view><br />
Copyright 2014 - IFRN
</body>
</html>
